﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="Re_passwd1.aspx.cs" Inherits="Re_passwd1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 72%;
        }
        .style2
        {
            text-align: right;
        }
        .style3
        {
            text-align: left;
            width: 300px;
        }
        .style4
        {
            text-align: right;
            font-size: large;
        }
        .style5
        {
            font-size: large;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style1">
        <tr>
            <td colspan="2" height="40px" width="300px">
                修改密码：</td>
        </tr>
        <tr>
            <td class="style4" height="40px" width="300px">
                原密码：</td>
            <td class="style3" height="40px" width="300px">
                <asp:TextBox ID="TextBox1" runat="server" CssClass="style5" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4" height="40px" width="300px">
                新密码：</td>
            <td class="style3" height="40px" width="300px">
                <asp:TextBox ID="TextBox2" runat="server" CssClass="style5" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4" height="40px" width="300px">
                确认新密码</td>
            <td class="style3" height="40px" width="300px">
                <asp:TextBox ID="TextBox3" runat="server" CssClass="style5" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="两次密码不一致" 
                    style="color: #FF0000"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" height="40px" width="300px">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                    style="font-family: 仿宋; font-size: large; color: #FFFFFF; background-color: #003366" 
                    Text="修改" />
            </td>
            <td class="style3" height="40px" width="300px">
                <span class="style5">&nbsp;&nbsp; </span>
                <asp:HyperLink ID="HyperLink5" runat="server" CssClass="style5" 
                    NavigateUrl="~/User_information.aspx">返回</asp:HyperLink>
            </td>
        </tr>
    </table>
</asp:Content>

